package com.rfid.project.model;

import java.util.Date;

import javax.persistence.*;

import biz.core.KeyValue;
import biz.util.KeyValueUtil;
import biz.util.StringUtil;
import biz.core.IdEntity;

@Entity
public class OperationLog extends IdEntity {

	// 操作类型
	private String operationType;

	// 对象标识
	private String objectID;

	// 操作说明
	private String operationDescription;

	// 操作人
	@ManyToOne
	@JoinColumn(name = "PersonID")
	private People person;

	// 代理操作人
	@ManyToOne
	@JoinColumn(name = "ProxyPersonID")
	private People proxyPerson;
	
	//时间
	private Date operationDateTime;

	public String getOperationType() {
		return operationType;
	}

	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}

	public String getObjectID() {
		return objectID;
	}

	public void setObjectID(String objectID) {
		this.objectID = objectID;
	}

	public String getOperationDescription() {
		return operationDescription;
	}

	public void setOperationDescription(String operationDescription) {
		this.operationDescription = operationDescription;
	}

	public People getPerson() {
		return person;
	}

	public void setPerson(People person) {
		this.person = person;
	}

	public People getProxyPerson() {
		return proxyPerson;
	}

	public void setProxyPerson(People proxyPerson) {
		this.proxyPerson = proxyPerson;
	}

	public Date getOperationDateTime() {
		return operationDateTime;
	}

	public void setOperationDateTime(Date operationDateTime) {
		this.operationDateTime = operationDateTime;
	}

}
